import surya.settings
from surya.settings import Settings
surya.settings.settings = Settings(MODEL_CACHE_DIR=r'D:\models\surya')

from scripts.run_streamlit_app import streamlit_app_cli
from pathlib import Path


if __name__ == "__main__":
    app_file = Path(__file__).resolve().parent / 'scripts' / 'streamlit_app.py'
    streamlit_app_cli(app_name=app_file.as_posix())